package com.changgou.goods.pojo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @version v1.0
 * @ProjectName: changgou_parent
 * @ClassName: CategoryBrand
 * @Description: TODO(分类和品牌的关联实体类)
 * @Author: Xu Fj
 * @Date: 2020/2/26 15:07
 */
@Table(name="tb_category_brand")
public class CategoryBrand implements Serializable {
    @Id
    private Integer categoryId;
    @Id
    private Integer brandId;

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getBrandId() {
        return brandId;
    }

    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }
}
